package com.zhehekeji.opsys.api.plugin.wechat.webservice;

import javax.jws.WebService;

import org.springframework.beans.factory.annotation.Autowired;

import com.zhehekeji.opsys.api.plugin.wechat.rsp.QrcodeShowRsp;
import com.zhehekeji.opsys.api.plugin.wechat.service.WechatCustomManagerService;

/**
 * @ClassName WechatCustomManagerWS
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2018-2-1   下午1:41:29
 */
@WebService(endpointInterface="com.zhehekeji.opsys.api.plugin.wechat.webservice.WechatCustomManager",
name="wechatCustomManager",portName="wechatCustomManagerPort",serviceName="wechatCustomManagerWS")
public class WechatCustomManagerWS implements WechatCustomManager {

	@Autowired
	private WechatCustomManagerService wechatCustomManagerService;
	
	@Override
	public QrcodeShowRsp getQrcodeShow(String activityCode, String userID, int amount, int limitTimes, int limitCycle) {
		QrcodeShowRsp rsp = wechatCustomManagerService.getQrcodeShow(activityCode, userID, amount, limitTimes, limitCycle);
		return rsp;
	}

	@Override
	public QrcodeShowRsp getSafeQrcodeShow(String sign) {
		QrcodeShowRsp rsp = wechatCustomManagerService.getSafeQrcodeShow(sign);
		return rsp;
	}

}

